home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
workbench werkzeuge
/
icon tools
/
opticon-1.8
/
icon2c.doc
< prev
next >
Wrap
Text File
|
1996-04-07
|
2KB
|
52 lines
Icon2C Icon2C
NAME
Icon2C -- Generate C sourcecode from an icon image (V36)
SYNOPSIS
Icon2C NAME/A,QUIET/S,TO/K
FUNCTION
Icon2C reads in given ".info" file and writes out well documented
and directly compilable C code. This code if compiled with a symbol
TEST defined (usual compiler option: -DTEST) will generate an
executable which writes back the icon image file to disk. This
allows you to modify any icon image to your own needs.
INPUTS
NAME - name of the icon image file. A trailing ".info"
is optional but not required.
QUIET - If this switch is set then Icon2C will not print any
warnings.
TO - specifies the output file. If not specified the
standard output stream will be used.
EXAMPLE
;generate C code for the disk icon of the disk in DF0:
icon2c df0:disk quiet to ram:diskicon.c
DISCLAIMER
This file is part of the Icon2C and OptIcon distribution.
Icon2C and OptIcon are free software; you can redistribute them
and/or modify them under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 1 of
the License, or (at your option) any later version.
Icon2C and Opticon are distributed in the hope that they will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with these programs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
COPYRIGHT
Icon2C and OptIcon are Copyright (C)1994 by Tobias Ferber.
You can reach me via E-mail: ukjg@rz.uni-karlsruhe.de
SEE ALSO
PatchIcons, OptIcon